package com.caigou.service;

import java.util.List;

import jiliang.purchase.demo.BusinessProcessing;
import jiliang.purchase.demo.CriteriaBusinessProcess;
import sch.jl.caigou.impl.BusinessProcessImpl;
import sch.jl.caigou.utils.Page;

public class BusinessProcessService {
	private BusinessProcessImpl BPI = new BusinessProcessImpl();
	
	public Page<BusinessProcessing> getData(String js_id,String name,CriteriaBusinessProcess CBP)
	{
		return BPI.getInfo(js_id,name,CBP);
	}

	public List<BusinessProcessing> getList(String js_id,CriteriaBusinessProcess CBP)
	{
		String name = null;
		return BPI.getList(js_id,name,CBP);
	}
	
	public List<BusinessProcessing> getPDF(String name,CriteriaBusinessProcess CBP)
	{
		return BPI.getPdf(name, CBP);
	}
	public List<BusinessProcessing> getPDF2(String name,CriteriaBusinessProcess CBP,String js_id)
	{
		return BPI.getPdf2(name, CBP,js_id);
	}
	public List<BusinessProcessing> getPDF3(String name,CriteriaBusinessProcess CBP,String js_id)
	{
		return BPI.getPdf3(name, CBP,js_id);
	}
	public List<BusinessProcessing> getSPec(CriteriaBusinessProcess CBP)
	{
		return BPI.getSPec(CBP);
	}
	public List<BusinessProcessing> getPageList(List<BusinessProcessing> list, int page)
	{
		return BPI.getPageList(list,page);
	}
}
